<?php
	$form = new ComentarioForm();
?>
<h1 class="heading">Visualizar Comentario</h1>

<table class="form">
  <tbody>
  <tr><th colspan="2" class="title">Detalhes Comentario</th></tr>
    <tr>
      <th><?php echo $form['id_comentario']->renderLabel() ?>:</th>
      <td><?php echo $comentario->getIdComentario() ?></td>
    </tr>
    <tr>
      <th><?php echo $form['descricao']->renderLabel() ?>:</th>
      <td><?php echo $comentario->getDescricao() ?></td>
    </tr>
    <tr>
      <th><?php echo $form['data_comentario']->renderLabel() ?>:</th>
      <td><?php echo $comentario->getDataComentario() ?></td>
    </tr>
    <tr>
      <th><?php echo $form['status']->renderLabel() ?>:</th>
      <td><?php echo $comentario->getStatus() ?></td>
    </tr>
    <tr>
      <th><?php echo $form['id_midia']->renderLabel() ?>:</th>
      <td><?php echo $comentario->getIdMidia() ?></td>
    </tr>
    <tr>
      <th><?php echo $form['id_evento']->renderLabel() ?>:</th>
      <td><?php echo $comentario->getIdEvento() ?></td>
    </tr>
  </tbody>
</table>

<hr />

<?php
	comandos_form(
		link_to(
			':: Listar ::',
			'comentario/list',
			array('class' => 'botao')
		),
		link_to(
			':: Editar ::',
			'comentario/edit?id_comentario='.$comentario->getIdComentario(),
			array('class' => 'botao')
		)
	);
?>